import request from '@/request'

export function findAll(data) {
    return request.post("fix/findAll",data);
}

export function doSaveOrUpdate(data){
    let path = data.fixId ? "update" : "save";
    return request.post(`fix/${path}`, data);
}

export function dodel(fId) {

    return request.post("fix/delete", fId, request.textConfig);
}